Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting segmentation data to Unicode 15.0 #4271

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

robertbastian
Copy link
Member

@robertbastian robertbastian commented Nov 10, 2023

Our unversioned rules are not compatible with 15.1 properties data.

@robertbastian robertbastian changed the title Reverting segmentation data to CLDR 43 Reverting segmentation data to Unicode 15.0 Nov 10, 2023
{
break_state_table[index] = break_state;
}
fn generate_rule_break_data(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: document that this is currently always called with a different provider that uses hardcoded data

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this blocking? I think that's fairly obvious from the single call site.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to dig a bit. Not blocking

@robertbastian robertbastian merged commit 488491b into unicode-org:main Nov 10, 2023
28 checks passed
Self {
source: SourceData {
trie_type: TrieType::Small,
icuexport_paths: Some(Arc::new(SerdeCache::new(AbstractFs::Memory(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thought: Good design for SerdeCache that this is so easy to do

Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Thanks for doing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants